﻿@using SportsStore.Web.Models.Product
@model ProductViewModel
  <div class="item">
    <h3>@Model.Name</h3>
    @Model.Description
    <h4>@Model.Price.ToString("c")</h4>
    
    @using (Html.BeginForm("AddToCart", "CartItem"))
    {
      @Html.HiddenFor(x => x.Id)
      <input type="submit" value="+ Add to cart"/>
    }
  </div>
